How do you get around entering the password in clear text in batch mode?

When running a DXL script in batch mode, I have to enter the user's password in clear text with the -P option in the command. How can I get around entering the password in clear text? Is there any straight DXL way or do I have to wrap the DXL command with some other program that supports password encryption?

Thanks,
Marjorie
mtmccor - Tue Jun 22 15:13:23 EDT 2010

Re: How do you get around entering the password in clear text in batch mode?
jsarkic - Wed Jun 23 07:31:04 EDT 2010

DOORS does not provide this functionality. You would need to get a product such as TqcRunas to encrypt this information.

Re: How do you get around entering the password in clear text in batch mode?
Mathias Mamsch - Wed Jun 23 09:23:16 EDT 2010

You probably will have to make a wrapper program, but ... I don't see the benefit in password encryption. Even if you encrypt the password inside an exe file you will pass it to the commandline unencrypted. The user will always be able to trick your program into giving away its password, the easiest way is to use a fake DOORS.exe which will just print the command line parameters.

I don't know what you are trying to accomplish, but if you want to have a user run a script that needs a higher priviledge level you should probably make a server program that will take some parameters and then launch the batch script and the DOORS client which reside securly on a server.

Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: How do you get around entering the password in clear text in batch mode?
llandale - Wed Jun 23 17:16:07 EDT 2010

Don't know. I've got mine in a folder on my computer that only my login user can see.